import React, { useState } from 'react'
import { View, Text, Input, Image, Textarea , Button} from '@tarojs/components'
import PageWrapper from '@/components/PageWrapper'
import './index.scss';
import {navigateTo} from "@/utils/navigation";
const Page = () => {
  const items = [1, 2, 3]
  return (
    <PageWrapper title="历史记录" showBack={true} backgroundColor='#F0F0F0'>
      <View className="appraisal-list-page">
        {items.map((_, index) => (
          <View key={index} className="card item-card">
            <View className="item-info">
              <View className="item-text">
                <View className="item">
                  <Text>订单编号: </Text>
                  <Text>2290023843944107980</Text>
                </View>
                <View className="item">
                  <Text>订单来源: </Text>
                  <Text>京东</Text>
                </View>
                <View className="item">
                  <Text>订单数量: </Text>
                  <Text>3</Text>
                </View>
                <View className="item">
                  <Text>实际数量: </Text>
                  <Text>3</Text>
                </View>
              </View>
            </View>
            <View className="btn-row">
              <View className="orange-btn" onClick={() => navigateTo('/pages/user/identification-details/index')}>详情</View>
            </View>
          </View>
        ))}
      </View>
    </PageWrapper>
  )
}

export default Page
